package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * (Branch)实体类
 *
 * @author makejava
 * @since 2020-10-26 19:44:39
 */
@ApiModel(value = "分店")
public class Branch implements Serializable {
    private static final long serialVersionUID = 246102426965381806L;
    /**
     * 区/镇
     */
    @ApiModelProperty(name = "areaTown",notes = "区/镇",required = true,value = "区/镇")
    private String areaTown;
    /**
     * 省份
     */
    @ApiModelProperty(name = "provinces",notes = "省份",required = true,value = "省份")
    private String provinces;
    /**
     * 分店编码
     */
    @ApiModelProperty(name = "branchCode",notes = "分店编码",required = false,value = "分店编码")
    private Integer branchCode;
    /**
     * 门店名称
     */
    @ApiModelProperty(name = "storeName",notes = "门店名称",required = true,value = "门店名称")
    private String storeName;
    /**
     * 区域
     */
    @ApiModelProperty(name = "area",notes = "区域",required = true,value = "区域")
    private String area;
    /**
     * 门店状态（1：营业中，0：休业中）
     */
    @ApiModelProperty(name = "storesState",notes = "门店状态（1：营业中，0：休业中）",required = true,value = "门店状态（1：营业中，0：休业中）")
    private String storesState;
    /**
     * 联系人
     */
    @ApiModelProperty(name = "contact",notes = "联系人",required = true,value = "联系人")
    private String contact;
    /**
     * 电话
     */
    @ApiModelProperty(name = "phoneNumber",notes = "电话",required = true,value = "电话")
    private String phoneNumber;
    /**
     * 传真
     */
    @ApiModelProperty(name = "fax",notes = "传真",required = true,value = "传真")
    private String fax;
    /**
     * 地址
     */
    @ApiModelProperty(name = "location",notes = "地址",required = true,value = "地址")
    private String location;
    /**
     * 楼层
     */
    @ApiModelProperty(name = "floor",notes = "楼层",required = true,value = "楼层")
    private String floor;
    /**
     * 分店详情（图片）
     */
    @ApiModelProperty(name = "branchDetails",notes = "分店详情（图片）",required = true,value = "分店详情（图片）")
    private String branchDetails;
    /**
     * 总部（外键）
     */
    @ApiModelProperty(name = "headquartersCode",notes = "总部（外键）",required = true,value = "总部（外键）")
    private Integer headquartersCode;
    /**
     * 文件
     */
    @ApiModelProperty(name = "file",notes = "文件",required = true,value = "文件")
    private MultipartFile[] file;

    public String getAreaTown() {
        return areaTown;
    }

    public void setAreaTown(String areaTown) {
        this.areaTown = areaTown;
    }

    public String getProvinces() {
        return provinces;
    }

    public void setProvinces(String provinces) {
        this.provinces = provinces;
    }

    public Integer getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(Integer branchCode) {
        this.branchCode = branchCode;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getStoresState() {
        return storesState;
    }

    public void setStoresState(String storesState) {
        this.storesState = storesState;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public String getBranchDetails() {
        return branchDetails;
    }

    public void setBranchDetails(String branchDetails) {
        this.branchDetails = branchDetails;
    }

    public Integer getHeadquartersCode() {
        return headquartersCode;
    }

    public void setHeadquartersCode(Integer headquartersCode) {
        this.headquartersCode = headquartersCode;
    }

    public MultipartFile[] getFile() {
        return file;
    }

    public void setFile(MultipartFile[] file) {
        this.file = file;
    }

    @Override
    public String toString() {
        return "Branch{" +
                "areaTown='" + areaTown + '\'' +
                ", provinces='" + provinces + '\'' +
                ", branchCode=" + branchCode +
                ", storeName='" + storeName + '\'' +
                ", area='" + area + '\'' +
                ", storesState='" + storesState + '\'' +
                ", contact='" + contact + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", fax='" + fax + '\'' +
                ", location='" + location + '\'' +
                ", floor='" + floor + '\'' +
                ", branchDetails='" + branchDetails + '\'' +
                ", headquartersCode=" + headquartersCode +
                ", file=" + file +
                '}';
    }
}